/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ib.algokit.forex;

/**
 *
 * @author dmisev
 */
public class PathLeg {
    private String forexPair;
    private boolean sameDirection;
    
    public PathLeg(String forexPair, boolean sameDirection){
        this.forexPair=forexPair;
        this.sameDirection=sameDirection;
    }
    
    public String getForexPair(){
        return this.forexPair;
    }
    
    public boolean getSameDirection(){
        return this.sameDirection;
    }
    
        @Override
    public String toString() {
		String ret= !sameDirection?"-":"";
		ret += forexPair==null?"":(forexPair);
//		ret += percChange==0?"":(percChange/*+ "\t"*/);
//		ret += slowBidValue==0?"":(slowBidValue+ "\t");
//		ret +=  fastBidValue==0?"":(fastBidValue);
		return ret;
	}
}
